
/*
* manageApi  模块api
* */
let pieAuth = piecloud ? piecloud : "";

export default {

     //home
     webSocketWarn: pieAuth+ "/notifications-server/ws-service",
     webSocketUrl: pieAuth.split("//")[1],
     getCpu: pieAuth + "/grafana/api/datasources/proxy/6/api/v1/query_range",
     queryFeature: pieAuth + '/api/v3/dataEngine/featureCollection/queryFeatureByQueryParameter',
     queryFeatureBase64:pieAuth + '/api/v3/dataEngine/featureCollection/queryFeatureByCompose',

     queryInfoByRange: pieAuth + "/sthx_server/task/taskDetails/api/v1/queryInfoByRange",
     getAllTask: pieAuth + '/sthx_server/task/taskInfo/api/v1/getAllTask',
     checkToken: pieAuth + "/dev/account/api/auth/checkTokenValid",
     imageMetaDataCount: pieAuth + "/api/v1/image_manager/imageMetaData/imageMetaDataCount",
     lately: pieAuth + "/sthx_server/task/taskInfo/api/v1/lately",
     dataStatistics: pieAuth + "/sthx_server/task/taskInfo/api/v1/dataStatistics",
     operatingRecord: pieAuth + "/sthx_server/system/operatingRecord",
     dataTypeStatistics: pieAuth + "/sthx_server/task/taskInfo/api/v1/dataTypeStatistics",
     getShareFileInfo: pieAuth + "/sthx_server/monitor/clusterNode/getShareFileInfo",
     getSuccessPercent: pieAuth + "/sthx_server/task/taskDetails/api/getSuccessPercent",
     getCpuInfo: pieAuth + "/sthx_server/monitor/clusterNode/getCpuInfo",
     query1: pieAuth + "/prometheus/api/v1/query",
     query: pieAuth + "/prometheus/api/v1/query?query=",
     stateStatistics: pieAuth + "/sthx_server/task/taskInfo/api/v1/stateStatistics",
     

     //login
     checkVisit: pieAuth + '/dev/account/api/sys/product/checkVisit',
     getByAppId: pieAuth + "/sthx_server/system/homeIcon/getByAppId/",
     login: pieAuth + '/dev/account/api/auth/login', //登录
     changePwd: pieAuth + '/dev/account/api/sys/user/changePwd', //调用10包接口修改密码
     logout: pieAuth + '/dev/account/api/auth/logout', //退出
     loginByToken: pieAuth + '/dev/account/api/auth/loginByToken', //八包联调，根据token直接进入系统不需要前端的登陆
     permissionPath: pieAuth + '/dev/account/api/sys/res/queryMenuElement', //获取用户权限
      //head conter footer
     queryTaskCatalog: pieAuth + "/sthx_server/task/taskInfo/api/v1/queryTaskCatalog",
     workFlowGroup: pieAuth + "/sthx_server/system/productLine/api/v1/workFlowGroup", //更新的处理加工的接口
     getMyCatalog: pieAuth + '/dev/account/api/sys/res/getTree',
     getNewVersion: pieAuth + "/sthx_server/system/sysVersion/getNewVersion",
     getLeftTreeMenu: pieAuth + "/coordinator/metadata/workflow/groupTree?groupId=",
     processmodel: pieAuth + "/task-manage/processclassify/quzeryFirstLevelProcessInfoByTreeKey/processmodel",
     workflowRerun: pieAuth + "/coordinator/workflow/rerun",
     updateDeliveryWebStatusByIds: pieAuth + "/notifications-server/message_history/updateDeliveryWebStatusByIds/2",

     BPassLogin: pieAuth +"/dev/account/api/auth/loginByBpaas",
     refreshInvalidToken: pieAuth +"/dev/account/api/auth/refreshInvalidToken"


};
